STEP 14: When you want to stop adding commands inside the loop, you simply stop indenting them.

  • Click on . Drag out Say. Drop it underneath and OUTSIDE the last line of your loop.
  • Change the variable name in front to wilbur. Change the text to "Thanks for helping!"
  • This command should be the last line of your program and should not be indented at all.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)